/// bucket : ""
/// businessCode : ""
/// createdAt : ""
/// host : ""
/// id : 0
/// linkUrl : ""
/// mimeType : ""
/// path : ""
/// size : 0
/// status : 0
/// userId : 0

class CameraEntity {
  CameraEntity({
      this.bucket, 
      this.businessCode, 
      this.createdAt, 
      this.host, 
      this.id, 
      this.linkUrl, 
      this.mimeType, 
      this.path, 
      this.size, 
      this.status, 
      this.userId,});

  CameraEntity.fromJson(dynamic json) {
    bucket = json['bucket'];
    businessCode = json['businessCode'];
    createdAt = json['createdAt'];
    host = json['host'];
    id = json['id'];
    linkUrl = json['linkUrl'];
    mimeType = json['mimeType'];
    path = json['path'];
    size = json['size'];
    status = json['status'];
    userId = json['userId'];
  }
  String? bucket;
  String? businessCode;
  String? createdAt;
  String? host;
  int? id;
  String? linkUrl;
  String? mimeType;
  String? path;
  int? size;
  int? status;
  int? userId;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['bucket'] = bucket;
    map['businessCode'] = businessCode;
    map['createdAt'] = createdAt;
    map['host'] = host;
    map['id'] = id;
    map['linkUrl'] = linkUrl;
    map['mimeType'] = mimeType;
    map['path'] = path;
    map['size'] = size;
    map['status'] = status;
    map['userId'] = userId;
    return map;
  }

}